<template>
	<view class="payment-success">
		<view class="f-active-color" style="font-size: 40rpx;">恭喜您支付成功</view>
		<view @tap='goIndex' class="return-index">返回首页再买点</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goIndex() {
				uni.switchTab({
					url:'../index/index'
				})
			}
		}
	}
</script>

<style scoped>
.payment-success {
	position: absolute;
	top:0;
	left: 0;
	bottom: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.return-index {
	padding: 20rpx 60rpx;
	border: 2px solid #ff115c;
	border-radius: 60rpx;
}
</style>
